home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / comm / htmst608.zip / MOZ.DOC < prev    next >
Text File  |  1996-08-31  |  6KB  |  141 lines

  1. MOZ.DOC                              1                         Revised: 08-31-96
  2.  
  3. The MOZ program processes your Netscape Web cache, renaming or copying files  so
  4. their file names correspond to the original names they had  on  the  originating
  5. site.  Features of this program:
  6.  
  7.   * Renames or copies all of the files in the cache.
  8.   * Should work for the caches from version 2.0 of Netscape.
  9.   * Originally was written to handle Mosaic caches version 2.0 or above although
  10.     I don't use Mosaic anymore so I have no idea if it still works.  Someone
  11.     told me it didn't work with the Spry version.  Sorry!
  12.   * Renames each file (with file names like M0OSOSFD.GIF) to match their
  13.     original names on the originating site as closely as possible (so this
  14.     file might end up being BATMAN.GIF).
  15.   * If there are files with duplicate source names, it renames according to
  16.     a sequential system (BATMAN01.GIF, BATMAN02.GIF, etc).
  17.   * Reads each of the files in the cache and determines the file type.
  18.     File types can be any of the following:
  19.       AU  (sound files)
  20.       BMP (graphic files)
  21.       EXE (compiled programs)
  22.       GIF (graphic files)
  23.       HTM (HTML files)
  24.       JPG (graphic files)
  25.       MID (sound files)
  26.       WAV (sound files)
  27.       ZIP (compressed files)
  28.     Renames the file extension according to the file type.
  29.   * Files marked read-only, system, or hidden are ignored during renaming.
  30.   * When the /RENAME option is used, a fail-safe file called C:\MOZBACK.BAT
  31.     is, by default, created which contains all of the RENAME commands
  32.     necessary to rename everything back the way it was.
  33.  
  34.  
  35. Specifying parameters:
  36.  
  37. Parameters for this program can be set in the following ways.  The last  setting
  38. encountered always wins:
  39.   - Read from an *.INI file (see BRUCEINI.DOC file),
  40.   - Through the use of an environmental variable (SET MOZ=whatever), or
  41.   - From the command line (see "Syntax" below)
  42.  
  43.  
  44.  
  45. MOZ.DOC                              2                         Revised: 08-31-96
  46.  
  47. Syntax:
  48.  
  49.     MOZ [ path | /Cpath ] [ /COPY | /RENAME ] [ /-FINAL ] [ /-MOZBACK ]
  50.       [ /MONO ] [ /DEBUG ] [ /Iinitfile | /-I ] [ /? ]
  51.  
  52. where:
  53.  
  54. "path" (or "/Cpath") is where the files are found.  If no path is provided,  the
  55. program defaults to looking in the following locations in sequence:
  56.  
  57.         default subdirectory
  58.         C:\NETSCAPE\CACHE
  59.         C:\MOSAIC\CACHE
  60.         D:\NETSCAPE\CACHE
  61.         D:\MOSAIC\CACHE
  62.  
  63. The  first  subdirectory  that  exists  and  contains  any  files  meeting   the
  64. specification *.MO* or M0*.* will be the one processed by the command.
  65.  
  66. "/COPY" specifies that the processed files are to  be  copied  under  their  new
  67. names, not renamed.  This can lead to very confusing results if you ever run the
  68. command more than once on the same subdirectory without cleaning out the cache.
  69.  
  70. "/RENAME" specifies that the files are to be renamed instead of copied.  This is
  71. initially the default.
  72.  
  73. "/FINAL" renames all files in the cache,  whether  they're  in  the  Web-created
  74. directory file (e.g. FAT.DB) or not.  Note that if your Web  browser  GPF'ed  or
  75. something nasty while you were running it, the FAT.DB file will be incomplete or
  76. even missing.  /FINAL allows the orphan files to be processed  somewhat.   Files
  77. matching either *.MO* (Mosaic's default filter)  or  M0*.*  (Netscape's  default
  78. filter)  will  be  renamed  sequentially  starting  with  _000.*  if  /FINAL  is
  79. specified.  This is initially the default.
  80.  
  81. "/-FINAL" specifies that the program should ignore files  that  remain  in  your
  82. output subdirectory  after  processing  the  Web-created  directory  file  (e.g.
  83. FAT.DB).  "/FINAL" is initially the default.
  84.  
  85. "/MOZBACK" creates a file called C:\MOZBACK.BAT which contains all of the RENAME
  86. commands required to name everything in the cache back  to  its  original  name.
  87. This file is only created if /RENAME is used.  This is initially the default.
  88.  
  89. "/-MOZBACK" skips creating the C:\MOZBACK.BAT  file.   The  initial  default  is
  90. "/MOZBACK".
  91.  
  92. "/MONO" (or "/-COLOR") does  not  try  to  override  screen  colors.   Initially
  93. defaults to "/COLOR".
  94.  
  95. "/COLOR" (or "/-MONO") allows screen colors to be overridden.  This is initially
  96. the default.
  97.  
  98. "/DEBUG" tells you what it would  rename  everything  but  doesn't  actually  do
  99. anything.
  100.  
  101.  
  102. MOZ.DOC                              3                         Revised: 08-31-96
  103.  
  104. "/Iinitfile" says to read an initialization file with the file name  "initfile".
  105. The file specification *must* contain a period.  Initfiles are described in  the
  106. BRUCEINI.DOC file.  Initially defaults to "/IMOZ.INI".
  107.  
  108. "/-I" (or "/INULL") says to skip loading the initialization file.
  109.  
  110.  
  111. Author:
  112.  
  113. This program was written by Bruce Guthrie of Wayne Software.  It is free for use
  114. and redistribution provided relevant documentation is kept with the program,  no
  115. changes are made to the program or documentation, and it  is  not  bundled  with
  116. commercial programs or charged for separately.  People who need to bundle it  in
  117. for-sale packages must pay a $50 registration fee to  "Wayne  Software"  at  the
  118. following address.
  119.  
  120. Additional information about this and other Wayne Software programs can be found
  121. in the file BRUCEymm.DOC which should be included  in  the  original  ZIP  file.
  122. ("ymm" is replaced by the last digit of the year and the two digit month of  the
  123. release.  BRUCE606.DOC came out in June 1996.  This same  naming  convention  is
  124. used in naming the ZIP file that this program was  included  in.)  Comments  and
  125. suggestions can also be sent to:
  126.  
  127.                 Bruce Guthrie
  128.                 Wayne Software
  129.                 113 Sheffield St.
  130.                 Silver Spring, MD 20910
  131.  
  132.                 fax: (301) 588-8986
  133.                 e-mail: bguthrie@nmaa.org
  134.                 http://hjs.geol.uib.no/guthrie/
  135.  
  136. See BRUCEymm.DOC file for revision history.
  137.  
  138. Please provide an Internet e-mail address on all correspondence.
  139.  
  140. 
  141.